/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;

    transition: color 0.3s;
}

a:hover {
    color: #003d7a;
    text-decoration: underline;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.top-bar {
    background-color: #960018;
    /* Elsevier red */
    color: white;
    padding: 8px 0;

    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.topbar a {
    color: white;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}


.contacts {
    display: flex;
    color: white;
    gap: 18px;
    flex-wrap: wrap;
}

.pill {
    background: rgba(255, 255, 255, .12);
    padding: 6px 12px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    color: white;
    transition: all 0.3s ease;
}

.pill:hover {
    background: rgba(255, 255, 255, .2);
}


.contact-info span {
    margin-right: 20px;
}

.working-hours {
    font-style: italic;
}

.header-main {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    border-bottom: 3px solid #960018;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
    margin-right: 15px;
}

.journal-info h1 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 5px;
}

.journal-info p {
    font-size: 1rem;
    color: #666;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #960018;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #7a0014;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    color: #960018;
    border: 2px solid #960018;
}

.btn-outline:hover {
    background-color: #960018;
    color: white;
    text-decoration: none;
}

/* Navigation */
.main-nav {
    background-color: #003366;
    /* Dark blue */
}

.nav-menu {
    display: flex;
    justify-content: center;

}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 15px 10px;
    color: white;
    font-weight: 500;
    text-transform: Capitalize;
    font-size: 0.9rem;
}


.navbar {
    background-color: #003366;
    /* Dark blue */
}

.navbar-nav .nav-link {
    color: #fff;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #00bfff;
    background-color: #002244;
    text-decoration: none;
}
.navbar-nav {
    align-items:center;
}

.ham {
    background-color: #fff;
}

.navbar-nav .nav-link.active {
    color: RED !important;
    /* White active link */
    font-weight: 600;
    border-bottom: 2px solid #00bfff;
    /* Optional underline for active */
}

.navbar-brand {
    color: white;
}



/* Banner Section */
.banner {
    background: linear-gradient(135deg, #003366, #960018);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 1px;
}

.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    animation: fadeIn 1.5s ease-in;
}

.banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Layout */
.main-content {
    display: flex;
    gap: 5px;
    margin:  0;
}

/* Sidebar Sections */
.sidebar-section {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    overflow: hidden;
    border-top: 3px solid #960018;
}

.sidebar-header {
    background-color: #f1f1f1;
    color: #003366;
    padding: 12px 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-content {
    padding: 15px;
}

.info-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-btn {
    background-color: #f0f0f0;
    padding: 12px;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
    border-left: 3px solid #960018;
}

.info-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    text-decoration: none;
}

.impact-factor {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 4px;
    margin: 15px 0;
}

.archive-list,
.notice-list {
    max-height: 300px;
    overflow-y: auto;
}

.archive-item,
.notice-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.archive-item:last-child,
.notice-item:last-child {
    border-bottom: none;
}

.journal-details {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    /*animation: pulse 2s infinite;*/
    border-left: 3px solid #960018;
}
.journal-details p {
    margin:0px;
    
}


/*@keyframes pulse {*/
/*    0% {*/
/*        box-shadow: 0 0 0 0 rgba(150, 0, 24, 0.4);*/
/*    }*/

/*    70% {*/
/*        box-shadow: 0 0 0 10px rgba(150, 0, 24, 0);*/
/*    }*/

/*    100% {*/
/*        box-shadow: 0 0 0 0 rgba(150, 0, 24, 0);*/
/*    }*/
/*}*/

/* Indexing Styles */
.indexing-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.index-item {
    display: flex;
    align-items: center;
    padding: 8px 5px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.index-item:hover {
    background-color: #f5f5f5;
}

.index-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-color: #003366;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Middle Section Content */
.welcome-section {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
    border-top: 3px solid #960018;
}
.welcome-sectio p {
    background-color: white;
    border-radius: 5px;
    text-align:justify;
    padding: 5px;
    
    
}
.welcome-section h2 {
    color: #003366;
    margin-bottom: 15px;
    border-bottom: 2px solid #960018;
    padding-bottom: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feature-card {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    border-top: 2px solid #003366;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #960018;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: #003366;
    color: white;
    padding: 40px 0 20px;
    margin-top: 40px;
    border-top: 5px solid #960018;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #fff;
    border-bottom: 1px solid #960018;
    padding-bottom: 5px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }

    .left-sidebar,
    .right-sidebar {
        flex: 1;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .nav-menu a {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .indexing-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-section {
        margin-bottom: 15px;
    }

    .header-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .banner h2 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .nav-menu {
        flex-direction: column;
    }

    .nav-menu a {
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}


/*mainlayout*/
  .layout { 
        display: grid; 
        grid-template-columns: 1fr 3fr 1fr; 
        gap: 5px; 
        padding:10px 0 0 0;
     
      }
/* Responsive */
      @media (max-width: 1000px) { 
        .layout { 
          grid-template-columns: 1fr; 
        } }
        

/* Dropdown */
/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; /* default: aligned to left of parent */
  background: #fff;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  z-index: 1000;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  font-weight: normal;
  color: #333;
}

.dropdown-content a:hover {
  background: #f1f1f1;
  color: #007acc;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile View: align dropdown to left side of parent */
@media (max-width: 768px) {
  .dropdown-content {
    left: 0;
    right: auto; /* make sure it's aligned left */
  }
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ===== Responsive (Tablet & Mobile) ===== */
@media (max-width: 991px) {
  .menu {
    position: absolute;
    top: 60px;
    right: 15px;
    flex-direction: column;
    width: 250px;
    background: #b3ecf2;
    padding: 15px;
    border-radius: 8px;
    display: none; /* hidden by default */
    align-items:baseline;
  }

  .menu a {
    width: 100%;
    padding: 12px;
  }

  .menu.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  /* Dropdown inside mobile */
  .dropdown:hover .dropdown-content {
    position: relative;
    box-shadow: none;
    background: #e6f7ff;
  }
}
        